Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. RewriteRule: cannot compile regular expression '^.*/.*/.*/.*/.*/([a-Z]+)\.( ...

    RewriteRule: cannot compile regular expression '^.*/.*/.*/.*/.*/([a-Z]+)\.( ...

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 19.01

    Description:
    I am trying to get the re-write rules as mentioned in the How to publish Aleph records in Google (Aleph Version 18.01) on page 8 to work. However a config-test on the configuration files gives me:

    RewriteRule: cannot compile regular expression '^.*/.*/.*/.*/.*/([a-Z]+)\\.([0-9]+)\\.html$'

    There seems to be a error in the documentation that says that the condition and rule should look like this:

    RewriteCond %{HTTP_USER_AGENT} !.*bot.*
    RewriteRule ^/.*/.*/.*/.*/.*/([a-Z]+)\.([0-9]+\.html$ \
    http://julia.hj.se/F/-?func=find-b&request=$2&find_code=SYS&local_base=$1

    Resolution:
    [From Daniel Forsman, on ALEPH-NA:]

    Ex Libris has confirmed that there was a error in the documentation and that the correct configuration should be (in our case, for you change the server-domain):

    RewriteRule ^/.*/.*/.*/.*/.*/([a-zA-Z0-9]+)\.([0-9]+)\.html$
    http://julia.hj.se/F/-?func=find-b&request=$2&find_code=SYS&local_base=$1

    The documentation will be updated with the correct configuration.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Revisit ue_08 and Authority loads
      • RFID and "Circulation/In house use” menu
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 19.01
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved